package com.wn.system.api;

import com.wn.common.model.vo.user.UserInfoVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author yellow Docter
 * @date 2023 -03-02
 * @desc
 */
@FeignClient("sddfp-system-service")
public interface UserApi {

    @GetMapping("/user/find/{phone}")
    UserInfoVo findUserById(@PathVariable("phone") String phone);

}
